#ifndef EYERWANDARTIST_EWAUITRACKBODY_HPP
#define EYERWANDARTIST_EWAUITRACKBODY_HPP

#include "EWAUIWidget/EWAUIWidgetHeader.hpp"
#include "EWAUITimelineContext.hpp"
#include "EWAUITrackHeaderItem.hpp"

namespace Eyer
{
    class EWAUITrackBody : public EWAUIWidget, public EWAPrjTrackListener
    {
    public:
        EWAUITrackBody(EyerSmartPtr<EWAUITimelineContext> _timelineCtx, EWAUILayoutParams _width, EWAUILayoutParams _height);
        virtual ~EWAUITrackBody();

        virtual int OnFragmentUpdate(EWAPrjTrack * track) override;

        virtual EWAPrjTrackType GetTrackType();

    protected:
        EyerSmartPtr<EWAUITimelineContext> timelineCtx;
    };
}

#endif //EYERWANDARTIST_EWAUITRACKBODY_HPP
